<?php include_once("first_detail.php"); ?>
<li class="layui-form-item icon">

    <label class="layui-form-label">ICON：</label>

    <div class="layui-input-block">
    	
        <?php 
		if($detail['icon'] != 'alpha.gif' && $detail['icon'] != ''){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['icon'] ?>" width="100"/>
        <?php }?>
        <a href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=icon&now_extender=<? echo $system_part ?>">
            删除</a>
            <span class="title-data">(请上传像素<? echo $first_icon_data[0] ?>X<? echo $first_icon_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>

<li class="layui-form-item icon">
    <label class="layui-form-label">上传文件：</label>
    <div class="layui-input-block">   <input type="file" name="icon" onchange="fileChange(this);"/></div><em class="explain">(上传列表图标)</em></li>
<br/>






<li class="layui-form-item banner">
    <label class="layui-form-label">横幅图片：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['icon'] != 'alpha.gif' && $detail['icon'] != ''){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['banner'] ?>" width="100"/>
         <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=banner&now_extender=<? echo $system_part ?>">
            删除</a>
        <?php }?>
        
            <span class="title-data">(请上传像素<? echo $first_banner_data[0] ?>X<? echo $first_banner_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>


<li class="layui-form-item banner">
    <label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="banner" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传横幅Banner图片)</em>
</li>


<li class="layui-form-item images1">
    <label class="layui-form-label">资料图片一：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['image1'] != 'alpha.gif' && $detail['image1'] != ''){
		?>
    	<img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['image1'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=image1&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image1_data[0] ?>X<? echo $first_image1_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item images1"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile1" onchange="fileChange(this);"/></div><em
        class="explain">(上传详细页面的图片)</em>
</li>

<li class="layui-form-item images2">
    <label class="layui-form-label">资料图片二：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['image2'] != 'alpha.gif' && $detail['image2'] != ''){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['image2'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=image2&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image2_data[0] ?>X<? echo $first_image2_data[1] ?>的图片,格式为jpeg)</span>
            </div>
</li>
<li class="layui-form-item images2"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile2" onchange="fileChange(this);"/></div><em
        class="explain">(上传详细页面的图片)</em>
</li>


<li class="layui-form-item images3">
    <label class="layui-form-label">资料图片三：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['image3'] != 'alpha.gif' && $detail['image3'] != ''){
		?>
    	<img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['image3'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=image3&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image3_data[0] ?>X<? echo $first_image3_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item images3"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile3" onchange="fileChange(this);"/>
    </div>
    <em
        class="explain">(上传详细页面的图片)</em>
</li>


<li class="layui-form-item images4">
    <label class="layui-form-label">资料图片四：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['image4'] != 'alpha.gif' && $detail['image4'] != ''){
		?>
    	<img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['image4'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=image4&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image4_data[0] ?>X<? echo $first_image4_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item images4"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile4" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>


<li class="layui-form-item images5">
    <label class="layui-form-label">资料图片五：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['image5'] != 'alpha.gif' && $detail['image5'] != ''){
		?>
    	<img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['image5'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=image5&now_extender=<? echo $system_part ?>">
            删除 </a>
            
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image5_data[0] ?>X<? echo $first_image5_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item images5"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile5" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>


<li class="layui-form-item images6"  style="display:none">
    <label class="layui-form-label">资料图片六：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['image6'] != 'alpha.gif' && $detail['image6'] != ''){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['image6'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=image6&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            
            <span class="title-data">(请上传像素<? echo $first_image6_data[0] ?>X<? echo $first_image6_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>

<li class="layui-form-item images6" style="display:none"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile6" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>

<li class="layui-form-item images7"  style="display:none">
    <label class="layui-form-label">资料图片七：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['images7'] != 'alpha.gif' && $detail['images7'] != ''){
		?>
    	<img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['images7'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=images7&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image7_data[0] ?>X<? echo $first_image7_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item images7" style="display:none"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile7" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>


<li class="layui-form-item images8" style="display:none">
    <label class="layui-form-label">资料图片八：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['images8'] != 'alpha.gif' && $detail['images8'] != ''){
		?>
    	<img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['images8'] ?>" width="100"/> 
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=images8&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
        
            <span class="title-data">(请上传像素<? echo $first_image8_data[0] ?>X<? echo $first_image8_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item images8" style="display:none"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile8" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>


<li class="layui-form-item images9" style="display:none">
    <label class="layui-form-label">资料图片九：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['images9'] != 'alpha.gif' && $detail['images9'] != ''){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['images9'] ?>" width="100"/>
        
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=images9&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image9_data[0] ?>X<? echo $first_image9_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>


<li class="layui-form-item images9" style="display:none"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile9" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>

<li class="layui-form-item images10" style="display:none">
    <label class="layui-form-label">资料图片十：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['images10'] != 'alpha.gif' && $detail['images10'] != ''){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['images10'] ?>" width="100"/>
        <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=images10&now_extender=<? echo $system_part ?>">
            删除 </a>
        <?php }?>
         
            <span class="title-data">(请上传像素<? echo $first_image10_data[0] ?>X<? echo $first_image10_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>

<li class="layui-form-item images10" style="display:none"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="upfile10" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
</li>




<li class="layui-form-item extend_img">
    <label class="layui-form-label">备用图片：</label>

    <div class="layui-input-block">
    	<?php 
		if($detail['icon'] != 'alpha.gif'){
		?>
        <img src="<?
        if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        }
        ?>/uploadfiles/<? echo $theme_folder ?>/<? echo $detail['extend_img'] ?>" width="100"/> 
        <?php }?>
       <a
            href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=extend_img&now_extender=<? echo $system_part ?>">
            删除 </a><span class="title-data">(请上传像素<? echo $first_extend_img_data[0] ?>X<? echo $first_extend_img_data[1] ?>的图片,格式为jpeg)</span>
    </div>
</li>
<li class="layui-form-item extend_img"><label class="layui-form-label">上传文件：</label>

    <div class="layui-input-block"><input type="file" name="extend_img" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传详细页面的图片)</em>
        
</li>




<li class="layui-form-item attachment">
    <label class="layui-form-label">上传附件：</label>

    <div class="layui-input-block">
        <a href="<? if ($detail_storage) {
            echo $detail_storage;
        } else {
            echo $site_domin;
        } ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['attachment'] ?>">
            <? if ($detail_storage) {
                echo $detail_storage;
            } else {
                echo $site_domin;
            } ?>/uploadfiles/<? echo $theme_folder ?>/<? echo  $detail['attachment'] ?>
        </a>
		
        <a href="detail-delete-img.php?nid=<?php echo $trans_nid ?>&img=attachment&now_extender=<? echo $system_part ?>">(
            删除 )</a>
    </div>
</li>
<li class="layui-form-item attachment"><label class="layui-form-label">选择附件：</label>

    <div class="layui-input-block"><input type="file" name="attachment" onchange="fileChange(this);"/>
    </div><em
        class="explain">(上传可供用户下载的附件)</em>
</li>




